@screenWidth:100%;
@headerHeight:60px;
@backgroundColor: #438Eb9;
*{
    height:auto;
}


//顶部信息
.header{
    position: fixed;
    z-index: 3;
    top: 0;left: 0;
    width: @screenWidth;
    height: @headerHeight;
    background-color: @backgroundColor;
    .logoDiv{
        line-height:60px;
        width: 30%;
        padding: 0 0 0 5%;
        h2{
            color: #fff;
            // display: inline-block;
            white-space:nowrap;
            overflow:hidden;
            text-overflow: ellipsis;
            // width: 300px;
        }
    }
    .messages{
        display:none;
        width: auto;
        height: 40px;
        line-height: 40px;
        float: right;
        margin:10px 0 0 0;
        z-index: 5;
        position: absolute;
        background-color: #58addf;
        padding:0 10px;
        color: #fff;
        top: 0;right: 420px;
        font-size:15px;
        .xiaoxitongzhi{
            font-size:23px;
            color:#fff;
        }
        .messageNum{
            color: #fff;
            background-color: red;
            display:inline-block;
            text-align: center;
            width: auto;
            padding:0 8px;
            height:20px;
            line-height:20px;
            border-radius: 10px;
            text-indent: 0 !important;
        }
        .messageNav{
            text-indent: 1em;
            background-color: rgb(247, 195, 224);
            color: #fff;
        }
        &:hover{
            cursor: pointer;
        }
        .messageMenu{
            display: none;
            position: absolute;
            top: 50px;
            right: 0;
            background-color:#fff;
            width: 255px;
            border: 1px solid rgb(171, 169, 169);
            color: black;
            .messageNum{
                float: right;
                margin: 5px 10px 0 0;
            }
            li{
                text-indent: 1em;
                line-height: 30px;
                height: 30px;
                display:block;
                span{
                    display: inline-block;
                    text-indent: 1em;
                }
                &:hover{
                    cursor: pointer;
                    background-color:rgb(245, 245, 135);
                }
            }
            .triangle{
                width: 0;
                height: 0;
                border: 8px solid transparent;
                border-bottom: 8px solid #fff;
                position: absolute;
                top: -16px;
                left: 220px;
            }
            a{
                display: block;
            }
        }
    }
    .headerMessage{
        width: auto;
        height: 40px;
        line-height: 40px;
        float: right;
        margin:10px 0 0 0;
        z-index: 5;
        position: absolute;
        background-color: #58addf;
        padding:0 10px;
        color: #fff;
        top: 0;right: 20px;
        font-size:15px;
        &:hover{
            cursor: pointer;
        }
       
        .time{
            height: 40px;
            line-height: 40px;
            position: relative;
            padding-right: 10px;
            &:before {
                content:"";
                position: absolute;
                height:40px;
                width: 2px;
                background-color: #fff;
                left: -30px;
            }
            &:after {
                content:"";
                position: absolute;
                height:40px;
                width: 2px;
                background-color: #fff;
                right: 0px;
                
            }
        }
        .headerInfo{
            height: 40px;
            display: inline-block;
            line-height: 40px;
            span{
                height: 40px;
                line-height: 40px;
                display: inline-block;
            }
            i{
                height: 40px;
                line-height: 40px;
                display: inline-block;
            }
        }
        .headerMenu{
            display:none;
            position: absolute;
            top: 50px;
            right: 0;
            background-color:#fff;
            width: 150px;
            border: 1px solid rgb(171, 169, 169);
            color: black;
            li{
                text-indent: 1em;
                line-height: 30px;
                height: 30px;
                display:block;
                span{
                    display: inline-block;
                    text-indent: 1em;
                }
                &:hover{
                    cursor: pointer;
                    background-color:rgb(245, 245, 135);
                }
            }
            .triangle{
                width: 0;
                height: 0;
                border: 8px solid transparent;
                border-bottom: 8px solid #fff;
                position: absolute;
                top: -16px;
                left: 120px;
            }
        }
    }
}

// 主体区域
.banner{
    position: fixed;
    top: 60px;left: 0;bottom: 0;
    width: @screenWidth;
    display: grid;
    grid-template-columns:15% 85%;
    grid-template-rows: 100%;
    margin-bottom: 0;
    .left{
        height:auto;
        background-color: #F2F2F2;
        position: relative;
        // margin:60px 0 0 0;
        i{
            font-size: 18px;
        }
        &:after{
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: 2px;
            background-color: rgb(218, 215, 215);
        }
        .menuList:last-child{
            border-bottom: 1px solid rgb(171, 169, 169);
        }
        .menuList{
            width: 100%;
            height: 40px;
            border-top: 1px solid rgb(171, 169, 169);
            text-overflow:elipsis;
            white-space:nowrap;
            overflow:hidden;
            background-color: #F9F9F9;
           
            a{
                line-height:40px;
                display: inline-block;
                width: 100%;
                text-decoration-line:none;
                text-indent:1em;
                &:hover{
                    color: @backgroundColor;
                    cursor: pointer;
                }
                span{
                    display: inline-block;
                    text-indent:1em;
                }
                b{
                   float: right;
                   transform: translateX(-10px);
                }
            }
            a:first-child{
                overflow: hidden;
                height:40px;
                text-overflow: ellipsis;
                white-space: nowrap;
                word-break: break-all;
            }
            .submenu{
                background-color:#fff;
                li{
                    border-top: 1px solid rgb(171, 169, 169);
                    &:hover{
                        background-color:#F2F2F2;
                    }
                    &:before{
                        content:"·";
                        height:40px;
                        line-height:40px;
                        font-size:40px;
                        // width: 2px;
                        // background-color:rgb(171, 169, 169);
                        float: left;
                        transform: translateX(20px);
                    }
                    a{
                        text-indent:3em;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        word-break: break-all;
                    }
                }
               
            }
        }
    }
    .right{
        overflow:auto;
        height: auto;
        // margin: 60px 0 0 0;
        padding-bottom: 20px;
        background-color: #fff;
        .nav{
            width: 100%;
            height: 40px;
            background-color: #f3f1f1;
            text-indent:2em;
            position: absolute;
            top: 0;width: 100%;
            line-height:40px;
            z-index: 3;
            .zuoyoujiantou{
                font-size: 12px;
            }
            a{
                &:hover{
                    color: @backgroundColor;
                    text-decoration-line:none;
                }
            }
        }
        .wrap{
            width: 97%;
            height: auto;
            padding-top: 60px;
            margin: 0 auto;
        }
    }
}

// 底部信息

// 表格
.tableOne{
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    thead {
        // background-color:
        background: #C9CCD3;
        background-image: linear-gradient(-180deg, rgba(255,255,255,0.50) 0%, rgba(0,0,0,0.50) 100%);
        background-blend-mode: lighten;
    }
    tr{
        text-align: center;
        height:30px;
        line-height: 30px;
        td{
            border: 1px solid rgb(171, 169, 169);
        }
        &:hover{
            background: #C9CCD3 !important;
            background-image: linear-gradient(-180deg, rgba(255,255,255,0.50) 0%, rgba(0,0,0,0.50) 100%);
            background-blend-mode: lighten;
        }
        .headimgSmall{
            height:60px;
            width: 60px;
            margin:10px 10px 0 10px;
            border-radius:30px;
            object-fit: cover; 
            object-position: top;
            &:hover{
                cursor: pointer;
            }
        }
        
    }
    tr:nth-child(1){
        td{
            border-top: none;
        }
    }
    tbody {
        tr:nth-child(even){
            background-image: linear-gradient(to top, #f9fafc 0%, #eef1f5 100%);
        }
        
    }
}

// 分页 
.paging{
    height:40px;
    line-height:40px;
    text-align:center;
    margin-top: 20px;
    .pageMessage{
        float: left;
    }
    .pages{
        display: inline-block;
        button{
            height:30px;
            width: auto;
            line-height: 30px;
        }
        
        span{
            display: inline-block;
            border-radius: 3px;;
            height:25px;
            width: 25px;
            line-height: 25px;
            text-align:center;
            border: 1px solid rgb(171, 169, 169);
        }
        .activePage{
            background-color:@backgroundColor;
            color: #fff;
            &:hover{
                cursor: pointer;
                // background-color:@backgroundColor;
                // color: #fff;
            }
        }
        .waitPage{
            background-color:#fff;
            color: black;
            &:hover{
                cursor: pointer;
                // background-color:@backgroundColor;
                color: @backgroundColor;
            }
        }
    }
    .searchByPage{
        height:25px;
        line-height: 25px;
        width: 40px;
        border: 1px solid rgb(189, 186, 186);
        text-align: center;
    }
    .changePage{
        height:30px;
        line-height:30px;
        border-radius:5px;
        &:hover{
            cursor: pointer;
            background-color:@backgroundColor;
            color: #fff;
        }
    }
    button{
        border: none;
        height:30px;
        line-height:30px;
        border-radius:5px;
        &:hover{
            cursor: pointer;
            background-color:@backgroundColor;
            color: #fff;
        }
    }
    #prevId{
        &:hover{
            cursor:no-drop ;
            background-color:#FAFAFA;
            color: black;
        }
    }
    #nextId{
        &:hover{
            cursor:no-drop ;
            background-color:#FAFAFA;
            color: black;
        }
    }
}

// alert 弹窗
.alertWindow{
    display: none;
    position: fixed;
    top: 50%;left: 50%;
    transform: translate(-50%,-50%);
    width: 350px; 
    background-color:#fff;
    height:auto;
    z-index: 5;
    color: #53575a;
    padding-bottom: 15px;
    .alertTop{
        padding:0 1em;
        height: 40px;
        line-height: 40px;
        background-color:#ebe6e6;
        i{
            float: right;
            font-size:20px;
            &:hover{
                color: red;
                cursor: pointer;
            }
        }
    }
    .alertMsg{
        padding:0 1em;
        line-height: 40px;
        height: auto;
    }
    button{
        float: right;
        margin-right: 1em;
    }
}
.covers{
    position: absolute;
    top: 0;left: 0;
    width: 100%;height: 100%;
    background-color:#3d4347;
    opacity: 0.3;
    z-index: 4;
    display: none;
}


// 提示信息
.explain{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgb(68, 67, 67);
    background-color:#fff;
    width: auto;
    min-width:200px;
    height: 60px;
    line-height: 60px;
    padding:0 1em;
    text-align: center;
    display: none;
    z-index: 100;
    b{
        display: inline-block;
        transform: translateY(4%);
        font-size:28px;
        
    }
    .chenggong{
        color: #009688;
    }   
    .shibai{
        color: rgb(223, 15, 15);
    }
    .jinggao{
        color: rgb(186, 186, 13);
    }
}

// 清除浮动
.clearfix{
	*100m:1;
}
.clearfix:after{
	content:"";
	display:block;
	clear:both;	
}

// 按钮样式
.btn{
    height:30px;
    line-height: 30px;
    border: none;
    border-radius:5px;
    color:#FFFFFF;       
    &:hover{
        cursor: pointer;
    }
}
.addBtn{
    background-color:#1E9FFF;
}
.delsBtn{
    background-color:#FF5722;
}
.updataBtn{
    background-color:#009688;
}
.serrchBtn{
    background-color:@backgroundColor;
}
.editBtn{
    background-color:@backgroundColor;
    line-height: 25px;height: 25px;
    position: relative;
    &:hover{
        &::before{
            content:"";
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom: 8px solid #fff;
            position: absolute;
            top: 15px;
            left: 15px;
        }
        &::after{
            content:"编辑";
            position:absolute;
            top:28px;left: 15px;
            color: black;
            // border: 1px solid black;
            background: #fff;
            height: 30px;
            width: 40px;
            line-height: 30px;
            z-index: 4;
            border-radius:5px;
        }
    }
}
.commentBtn{
    background-color:@backgroundColor;
    line-height: 25px;height: 25px;
    position: relative;
    &:hover{
        &::before{
            content:"";
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom: 8px solid #fff;
            position: absolute;
            top: 15px;
            left: 15px;
        }
        &::after{
            content:"评论";
            position:absolute;
            top:28px;left: 15px;
            color: black;
            // border: 1px solid black;
            background: #fff;
            height: 30px;
            width: 40px;
            line-height: 30px;
            z-index: 4;
            border-radius:5px;
        }
    }
}
.handleBtn{
    background-color:green;
    line-height: 25px;height: 25px;
    position: relative;
    &:hover{
        &::before{
            content:"";
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom: 8px solid #fff;
            position: absolute;
            top: 15px;
            left: 15px;
        }
        &::after{
            content:"发货";
            position:absolute;
            top:28px;left: 15px;
            color: black;
            // border: 1px solid black;
            background: #fff;
            height: 30px;
            width: 40px;
            line-height: 30px;
            z-index: 4;
            border-radius:5px;
        }
    }
}
.paixuBtn{
    background-color:green;
    line-height: 25px;height: 25px;
    position: relative;
    &:hover{
        &::before{
            content:"";
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom: 8px solid #fff;
            position: absolute;
            top: 15px;
            left: 15px;
        }
        &::after{
            content:"排序";
            position:absolute;
            top:28px;left: 15px;
            color: black;
            // border: 1px solid black;
            background: #fff;
            height: 30px;
            width: 40px;
            line-height: 30px;
            z-index: 4;
            border-radius:5px;
        }
    }
}
.delBtn{
    background-color:#FF5722;
    line-height: 25px;height: 25px;
    position: relative;
    &:hover{
        &::before{
            content:"";
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom: 8px solid #fff;
            position: absolute;
            top: 15px;
            left: 15px;
        }
        &::after{
            content:"删除";
            position:absolute;
            top:28px;left: 15px;
            color: black;
            // border: 1px solid black;
            background: #fff;
            height: 30px;
            width: 40px;
            line-height: 30px;
            z-index: 4;
            border-radius:5px;
        }
    }
}
.detailBtn{
    background-color:#2264ff;
    line-height: 25px;height: 25px;
    position: relative;
    &:hover{
        &::before{
            content:"";
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom: 8px solid #fff;
            position: absolute;
            top: 15px;
            left: 15px;
        }
        &::after{
            content:"详情";
            position:absolute;
            top:28px;left: 15px;
            color: black;
            // border: 1px solid black;
            background: #fff;
            height: 30px;
            width: 40px;
            line-height: 30px;
            z-index: 4;
            border-radius:5px;
        }
    }
}
.useBtn{
    background-color:#87BB7F;
    line-height: 25px;height: 25px;
    position: relative;
    color: #fff;
    &:hover{
        &::before{
            content:"";
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom: 8px solid #fff;
            position: absolute;
            top: 15px;
            left: 15px;
        }
        &::after{
            content:"停用";
            position:absolute;
            top:28px;left: 15px;
            color: black;
            // border: 1px solid black;
            background: #fff;
            height: 30px;
            width: 40px;
            line-height: 30px;
            z-index: 4;
            border-radius:5px;
        }
    }
}
.noUseBtn{
    background-color:#5d5b5d4c;
    line-height: 25px;height: 25px;
    position: relative;
    color: #fff;
    &:hover{
        &::before{
            content:"";
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom: 8px solid #fff;
            position: absolute;
            top: 15px;
            left: 15px;
        }
        &::after{
            content:"启用";
            position:absolute;
            top:28px;left: 15px;
            color: black;
            // border: 1px solid black;
            background: #fff;
            height: 30px;
            width: 40px;
            line-height: 30px;
            z-index: 4;
            border-radius:5px;
        }
    }
}
.submitBtn{
    background-color:#1E9FFF;
    padding:0 10px;
}
.cancleBtn{
    background-color:#F2F2F2;
    color: black;
    padding:0 10px;
    margin-left: 20px;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: hsl(180, 10%, 73%);
    -webkit-box-shadow: none;
  }
  
  ::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0);
    -webkit-box-shadow: none;
  }

//多选框操作
#checkAll{
    width: 20px;height:20px;
    transition: all .3s;
    transform: translateY(5px)
}
.checkbox{
    width: 20px;height: 20px;
    transform: translateY(5px)
}
.prompt{
    color:red;
}